package net.dgg.rz.production.entity;

import net.dgg.rz.common.base.entity.BaseEntity;
import org.springframework.data.annotation.Transient;

import java.math.BigDecimal;

/**
 * 成本费实体
 */
public class OrderSubject extends BaseEntity {
    /**
     * 销售主订单编号
     */
    private String orderNo;

    /**
     * 科目code
     */
    private String subjectType;


    /**
     * 数量
     */
    private Double subjectNum;

    /**
     * 金额
     */
    private BigDecimal subjectAmount;

    @Transient
    private String subjectNumStr;

    public String getSubjectNumStr() {
        return subjectNumStr;
    }

    public void setSubjectNumStr(String subjectNumStr) {
        this.subjectNumStr = subjectNumStr;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getSubjectType() {
        return subjectType;
    }

    public void setSubjectType(String subjectType) {
        this.subjectType = subjectType;
    }

    public Double getSubjectNum() {
        return subjectNum;
    }

    public void setSubjectNum(Double subjectNum) {
        this.subjectNum = subjectNum;
    }

    public BigDecimal getSubjectAmount() {
        return subjectAmount;
    }

    public void setSubjectAmount(BigDecimal subjectAmount) {
        this.subjectAmount = subjectAmount;
    }
}